package com.example.feitiansys.config;

import com.alibaba.fastjson.JSONObject;

import oshi.SystemInfo;

public class Test01 {
    public static void main(String[] args) {
        System.out.println(SystemInfo.getCurrentPlatformEnum());
        SystemInfo systemInfo = new SystemInfo();

        System.out.println(JSONObject.toJSONString(systemInfo , true));
    }
}
